package com.ly.entity;

/**
 * Author: LiYao
 * CreateTime: 2025-03-11 19:35
 * Description:
 * Version: 1.0
 */
public class BankAccount {
    private String accountID;
    private String password;
    private double balance;

    public BankAccount(String accountID,String password, double balance) {
        this.accountID = accountID;
        this.password = password;
        this.balance = balance;
    }

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAccountID() {
        return accountID;
    }

    public void setAccountID(String accountID) {
        this.accountID = accountID;
    }

    @Override
    public String toString() {
        return accountID + " " + password + " " + balance ;
    }
}
